package org.dru.clay.util.file;

import org.dru.clay.util.functional.Function;

import java.io.File;
import java.util.Collection;

/**
 * FileSets
 * User: joakimd
 * Date: 2013-07-24
 * Time: 13:56
 */
public final class FileSets {
    private FileSets() {
    }

    public static FileSet lazy(final File dir, final Function<File, Collection<File>> function) {
        return new LazyFileSet(dir, function);
    }
}
